package com.ship.boats.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * <b>SpBoatsAisMessage</b>
 *
 * @description: SpBoatsAisMessage <br>
 * @date: 2024/4/3 10:47 <br>
 * @author: lhm <br>
 * @version: 1.0 <br>
 */
public class SpBoatsAisMessage implements Serializable {
//    @ApiModelProperty(value = "主键ID")
//    @TableId(type = IdType.AUTO)
//    private Long id;

    @ApiModelProperty(value = "船舶ID")
    private String shipId;

    @ApiModelProperty(value = "船舶名称")
    private String shipName;

    @ApiModelProperty(value = "船舶英文名")
    public String shipnameEn;

    @ApiModelProperty(value = "mmsi")
    private String mmsi;

    @ApiModelProperty(value = "imo")
    private String imo;

    @ApiModelProperty(value = "船舶呼号")
    private String callsign;

    @ApiModelProperty(value = "船舶类型")
    private String shiptype;

    @ApiModelProperty(value = "船长")
    private int length;

    @ApiModelProperty(value = "船宽")
    private int breadth;

    @ApiModelProperty(value = "预计到港时间")
    private int eta;

    @ApiModelProperty(value = "目的港")
    private String destPort;

    @ApiModelProperty(value = "吃水")
    private int draught;

    @ApiModelProperty(value = "定位时间")
    private int posTime;

    @ApiModelProperty(value = "经度（单位：1/10000分）")
    private int lon;

    @ApiModelProperty(value = "纬度（单位：1/10000分）")
    private int lat;

    @ApiModelProperty(value = "航向（单位：0.1度）")
    private int cog;

    @ApiModelProperty(value = "航艏向（单位：度）")
    private int heading;

    @ApiModelProperty(value = "航速（单位：0.1节）")
    private int sog;

    @ApiModelProperty(value = "转向率（度/分钟）")
    private int rot;

    @ApiModelProperty(value = "ais航行状态")
    private String aisNavStatus;

    @ApiModelProperty(value = "可用状态：0-不可用，1-可用")
    private String enable;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "修改时间")
    private Date updateTime;

    private static final long serialVersionUID = 1L;

//    public Long getId() {
//        return id;
//    }
//
//    public void setId(Long id) {
//        this.id = id;
//    }

    public String getShipId() {
        return shipId;
    }

    public void setShipId(String shipId) {
        this.shipId = shipId;
    }

    public String getShipName() {
        return shipName;
    }

    public void setShipName(String shipName) {
        this.shipName = shipName;
    }

    public String getShipnameEn() {
        return shipnameEn;
    }

    public void setShipnameEn(String shipnameEn) {
        this.shipnameEn = shipnameEn;
    }

    public String getMmsi() {
        return mmsi;
    }

    public void setMmsi(String mmsi) {
        this.mmsi = mmsi;
    }

    public String getImo() {
        return imo;
    }

    public void setImo(String imo) {
        this.imo = imo;
    }

    public String getCallsign() {
        return callsign;
    }

    public void setCallsign(String callsign) {
        this.callsign = callsign;
    }

    public String getShiptype() {
        return shiptype;
    }

    public void setShiptype(String shiptype) {
        this.shiptype = shiptype;
    }

    public int getLength() {
        return length;
    }

    public void setLength(int length) {
        this.length = length;
    }

    public int getBreadth() {
        return breadth;
    }

    public void setBreadth(int breadth) {
        this.breadth = breadth;
    }

    public int getEta() {
        return eta;
    }

    public void setEta(int eta) {
        this.eta = eta;
    }

    public String getDestPort() {
        return destPort;
    }

    public void setDestPort(String destPort) {
        this.destPort = destPort;
    }

    public int getDraught() {
        return draught;
    }

    public void setDraught(int draught) {
        this.draught = draught;
    }

    public int getPosTime() {
        return posTime;
    }

    public void setPosTime(int posTime) {
        this.posTime = posTime;
    }

    public int getLon() {
        return lon;
    }

    public void setLon(int lon) {
        this.lon = lon;
    }

    public int getLat() {
        return lat;
    }

    public void setLat(int lat) {
        this.lat = lat;
    }

    public int getCog() {
        return cog;
    }

    public void setCog(int cog) {
        this.cog = cog;
    }

    public int getHeading() {
        return heading;
    }

    public void setHeading(int heading) {
        this.heading = heading;
    }

    public int getSog() {
        return sog;
    }

    public void setSog(int sog) {
        this.sog = sog;
    }

    public int getRot() {
        return rot;
    }

    public void setRot(int rot) {
        this.rot = rot;
    }

    public String getAisNavStatus() {
        return aisNavStatus;
    }

    public void setAisNavStatus(String aisNavStatus) {
        this.aisNavStatus = aisNavStatus;
    }

    public String getEnable() {
        return enable;
    }

    public void setEnable(String enable) {
        this.enable = enable;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
//        sb.append(", id=").append(id);
        sb.append(", shipId").append(shipId);
        sb.append(", shipName=").append(shipName);
        sb.append(", shipnameEn=").append(shipnameEn);
        sb.append(", mmsi=").append(mmsi);
        sb.append(", imo=").append(imo);
        sb.append(", callsign=").append(callsign);
        sb.append(", shiptype=").append(shiptype);
        sb.append(", length=").append(length);
        sb.append(", breadth=").append(breadth);
        sb.append(", posTime=").append(posTime);
        sb.append(", lon=").append(lon);
        sb.append(", lat=").append(lat);
        sb.append(", cog=").append(cog);
        sb.append(", heading=").append(heading);
        sb.append(", sog=").append(sog);
        sb.append(", rot=").append(rot);
        sb.append(", aisNavStatus=").append(aisNavStatus);
        sb.append(", enable=").append(enable);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }

}
